package com.csw.emsDeptPink.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.csw.emsDeptPink.entity.Dept;

@Mapper
public interface DeptDao {
	List<Dept> queryAll();

	void deleteById(String deptid);

	Dept queryById(String deptid);

	void update(@Param("d") Dept dept);

	void add(@Param("d") Dept dept);
}
